package com.szamc.tableroundapi.model.MultiTable;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class GroupRegionData {
    private String id;
    private String groupName;
    private double sum;
    private int Floorsum;
    private int addCount;
    private ArrayList<GroupData> GroupDataList;


    public GroupRegionData(String id, String groupName, double sum, int floorsum, int addCount, ArrayList<GroupData> groupDataList) {
        this.id = id;
        this.groupName = groupName;
        this.sum = sum;
        Floorsum = floorsum;
        this.addCount = addCount;
        GroupDataList = groupDataList;
    }

    public GroupRegionData(String id, ArrayList<GroupData> groupDataList) {
        this.id = id;
        this.groupName = id;
        GroupDataList = groupDataList;
    }
}
